package doubleclick.model;

import java.util.HashMap;


public class Payment{
    private double amount = 100;
    private int creditCardType;
    private String creditCardTypeName;
    private String nameOnCard = "Gary";
    private String number = "1234567890";
    private String expiryDate = "2012/10/23";
    private HashMap<Integer, String> creditCardTypes;
    
    
    public double getAmount() {
        return amount;
    }
    public void setAmount(double amount) {
        this.amount = amount;
    }
    public int getCreditCardType() {
        return creditCardType;
    }
    public void setCreditCardType(int creditCardType) {
        this.creditCardType = creditCardType;
    }
    public String getNameOnCard() {
        return nameOnCard;
    }
    public void setNameOnCard(String nameOnCard) {
        this.nameOnCard = nameOnCard;
    }
    public String getNumber() {
        return number;
    }
    public void setNumber(String number) {
        this.number = number;
    }
    public String getExpiryDate() {
        return expiryDate;
    }
    public void setExpiryDate(String expiryDate) {
        this.expiryDate = expiryDate;
    }

    public String getCreditCardTypeName() {
        return creditCardTypeName;
    }
    public void setCreditCardTypeName(String creditCardTypeName) {
        this.creditCardTypeName = creditCardTypeName;
    }
    public HashMap<Integer, String> getCreditCardTypes() {
        
        return creditCardTypes;
    }
    public void setCreditCardTypes(HashMap<Integer, String> creditCardTypes) {
        this.creditCardTypes = creditCardTypes;
    }

    
    public Payment() {
        creditCardTypes = new HashMap<Integer, String>();
        creditCardTypes.put(1, "Visa");
        creditCardTypes.put(2, "Mastercard");
        creditCardTypes.put(3, "American Express");
    }
}
